package com.weaving.monitor.repository;

import com.weaving.monitor.entity.Machine;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface MachineRepository extends JpaRepository<Machine, Long> {
    List<Machine> findByMachineNumberIn(List<Integer> machineNumbers);
    Machine findByMachineNumber(Integer machineNumber);
} 